package com.tianqu.tms.dao;

import java.util.List;

import com.tianqu.tms.core.exception.TmsDaoException;
import com.tianqu.tms.dto.TmsFinanciaDto;
import com.tianqu.tms.dto.TmsFinanciaParam;

public interface TmsFinanciaDao {
	
	 public List<TmsFinanciaDto> find(String realNamePy,String status,int limit) throws TmsDaoException;
	
	 public TmsFinanciaDto get(String id) throws TmsDaoException;
	 
	 public List<TmsFinanciaDto> find(TmsFinanciaParam param) throws TmsDaoException;
	
     public void insert(TmsFinanciaDto dto) throws TmsDaoException;
	 
	 public void update(TmsFinanciaDto dto) throws TmsDaoException;
	 
	 public boolean isRepeatName(String name,int type) throws TmsDaoException;
}
